package com.example.module_main.loading

import android.os.Bundle
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import com.example.module_main.R

/*
* 闪屏页
* */
class SplashscreenActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        enableEdgeToEdge()
        setContentView(R.layout.activity_splashscreen)


        val myView = findViewById<MyView>(R.id.myView)
        myView.attachActivity(this)
    }

    override fun onDestroy() {
        findViewById<MyView>(R.id.myView).release()
        super.onDestroy()
    }
}
